package praca.gra;

import praca.framework.TextureGL;
import praca.framework.Vertices;
import praca.interfejsy.Game;
import praca.interfejsy.Screen;
import praca.interfejsy.Texture;

public class AtlasTest extends Screen{

	Texture atlas;
	Vertices vert;
	
	public AtlasTest(Game game) {
		super(game);
		//vert = new Vertices(64,64, 0, 0.0625f,0.0625f, 0 );
		
	}

	@Override
	public void update(float deltaTime) {
		g.clearTransformations();
		g.drawColor(1, 1, 1);
		g.moveTexture(100, 100);
		g.drawTexture(atlas, vert);
		
		
	}

	@Override
	public void pause() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void resume() {
		atlas = new TextureGL(game, "atlas.png");
		g.setTextureTransparentBackground();
		
	}

	@Override
	public void dispose() {
		// TODO Auto-generated method stub
		
	}
	

}
